package com.code.p9.模板方法模式;

/**
 * 描述: 实现悍马模板模型
 *
 * @author CodeYang_Site
 * @version 2021/6/6 19:15
 */
public class HummerH2 extends HummerModel{

    @Override
    public void start() {
        System.out.println("悍马H2start");
    }

    @Override
    public void stop() {
        System.out.println("悍马H2stop");
    }

    @Override
    public void alarm() {
        System.out.println("悍马H2alarm");
    }

    @Override
    public void engineBoom() {
        System.out.println("悍马H2engineBoom");
    }

}
